package com.smartcruise.base;

import android.app.Activity;

import com.smartcruise.util.customView.LoadingDialog;

import io.realm.Realm;

/**
 * Created by FengChaoQun
 * on 2018/1/18 0018
 */

public interface BaseNormalView extends BaseView {

    void showToast(CharSequence msg);

    void showToast(int msg);

    void showLoadingDialog(String msg);

    void setLoadingDialogText(String text);

    void hideLoadingDialog();

    void setRightSlide(BaseActivity.RightSlide rightSlide);

    void clearRightSlide();

    void setEnableRightSlide(boolean enable);

    void setOnLoadingDialogDismiss(LoadingDialog.onDismiss on);

    Activity getActivity();

    BaseNormalView getBaseView();

    Realm getRealm();

}
